package com.smartstate.ems.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("attribute")
public class Attribute implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id",fill = FieldFill.INSERT)
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 模板类型 1 a设备   0 b设备
     */
    private Integer type;

    /**
     * 属性Json
     */
    private String tags;
}
